import request from '@/utils/request'

// 查询考试主列表
export const onlineManage = (query) => {
    return request({
        url: '/system/online/admin/list',
        method: 'get',
        params: query
    })
}

//修改上线
export const updateonlineManage = (data) => {
    return request({
        url: '/system/online/admin/update',
        method: 'post',
        data: data
    })
}

//获取年级
export const selectYeardate = (data) => {
    return request({
        url: '/system/online/admin/report/year',
        method: 'get',
        params: data
    })
}